package cn.tsa.factory.test1;

import cn.tsa.factory.test1.impl.GoodWordDocument;

/**
 * @author hongwei
 */
public class GoodFactory implements AbstractFactory{

    @Override
    public HtmlDocument createHtml(String md) {
        return new GoodHtmlDocument(md);
    }

    @Override
    public WordDocument createWord(String md) {
        return new GoodWordDocument(md);
    }
}
